package com.ucar.umock.client.exector.support;

import com.ucar.umock.client.exector.UMockValueExector;
import org.apache.commons.lang3.StringUtils;

/**
 * @ClassName UMockMethodBaseValueHandle
 * @Description TODO
 * @Author zhanbs baoshan.zhan@ucarinc.com
 * @Date 2020/4/3 15:35
 * @Version 1.0
 **/
public abstract class UMockValueBaseExector implements UMockValueExector {

    protected String defaultString(String value,String defVal){
        return StringUtils.isEmpty(value)?defVal:value;
    }

}
